package org.mall.modules.cash.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mall.modules.cash.entity.SellerCashInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.mall.modules.cash.entity.SellerCashInfoVO;

import java.util.List;

/**
 * @Description: 提现信息表
 * @Author: jeecg-boot
 * @Date:   2019-12-31
 * @Version: V1.0
 */
@Mapper
public interface SellerCashInfoMapper extends BaseMapper<SellerCashInfo> {

    Boolean updateStatusByIds(@Param("ids") List<Long> collect, @Param("status") Integer value);

    List<SellerCashInfo> getSellerCashInfoLogListByShopIds(@Param("ids") List<String> collect);

    List<SellerCashInfo> getSellerCashInfoLogListByShopIdsAndStatus(@Param("ids") List<String> collect, @Param("status") Integer status);

    List<SellerCashInfoVO> getBySellerId(@Param("sellerId") String id);
}
